﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="meeting_no.aspx.cs" Inherits="AnyOffice.general.meeting.manage.meeting_no" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>会议查询</title>
		
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
			<script>
		function open_meeting(meeting_id)
		{
			URL="../meeting_detail.aspx?meeting_id=" + meeting_id;
			myleft=(screen.availWidth-500)/2;
			window.open(URL,"read_notify","height=400,width=550,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,top=150,left="+myleft+",resizable=yes");
		}
		function delete_meeting(meeting_id)
		{
			msg='确认要删除该会议么？';
			if(window.confirm(msg))
			{
				URL="delete.aspx?meeting_id=" + meeting_id + "&refer=meeting_no.aspx";
				window.location=URL;
			}
		}
		</script>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
			<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="Big"><img src="/images/menu/meeting.gif" align="absMiddle" width="20" height="20"><span class="big3">
							未准会议</span>
					</td>
					<td valign="bottom" class="small1">&nbsp;
					</td>
				</tr>
			</table>
			<br>		
					<asp:Repeater id="rptMeeting" runat="server" EnableViewState="False">
					<HeaderTemplate>
					<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0" class="tab_pub" align="center">
					<TR class="TableHeader">
						<TD noWrap align="center">名称</TD>
						<TD noWrap align="center">主题</TD>
						<TD noWrap align="center">申请人</TD>
						<TD noWrap align="center">开始时间</TD>
						<TD noWrap align="center">会议室</TD>
						<TD noWrap align="center">操作</TD>
					</TR>	
					</HeaderTemplate>
					<ItemTemplate>
					<tr class="TableLine1">
						<td><%#Eval("Name")%></td>
						<td><%#Eval("Topic")%></td>
						<td noWrap align="center"><u title="部门：<%#Eval("DeptName")%>" style="cursor:hand"><%#Eval("ProposerName")%></u></td>
						<td noWrap align="center"><%#Eval("StartTime")%></td>						
						<td noWrap align="center"><%#Eval("RoomName")%></td>
						<td noWrap align="center">
							<a href="javascript:open_meeting('<%#Eval("MeetingId")%>');">详细信息</a>
							<a href="manage.aspx?meeting_id=<%#Eval("MeetingId")%>&operation=1&refer=meeting_no.aspx">批准</a>
							<a href="javascript:delete_meeting('<%#Eval("MeetingId")%>');">删除</a>
						</td>
					</tr>
				</ItemTemplate>	
				<AlternatingItemTemplate>
					<tr class="TableLine2">
						<td><%#Eval("Name")%></td>
						<td><%#Eval("Topic")%></td>
						<td noWrap align="center"><u title="部门：<%#Eval("DeptName")%>" style="cursor:hand"><%#Eval("ProposerName")%></u></td>
						<td noWrap align="center"><%#Eval("StartTime")%></td>						
						<td noWrap align="center"><%#Eval("RoomName")%></td>
						<td noWrap align="center">
							<a href="javascript:open_meeting('<%#Eval("MeetingId")%>');">详细信息</a>
							<a href="manage.aspx?meeting_id=<%#Eval("MeetingId")%>&operation=1&refer=meeting_no.aspx">批准</a>
							<a href="javascript:delete_meeting('<%#Eval("MeetingId")%>');">删除</a>
						</td>
					</tr>				
				</AlternatingItemTemplate>
				<FooterTemplate>
				</TABLE>
				</FooterTemplate>
				</asp:Repeater>
				<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
